<?php
/**
 * flyjay blog model
 *
 * @author SHl
 *
 */
class BlogPost extends AppModel {
	//public $useDbConfig = 'wataru';
    public $name = 'BlogPost';

    public $actsAs = array(
    		'Upload.Upload' => array(
    				'photo' => array(
    						'fields' => array(
    								'dir' => 'photo_dir'
    						),
    						'thumbnailMethod' => 'php',
    						'thumbnailSizes' => array(
    								'w1024' => '1024w',
    								'thumb' => '48h'
    						)
    				)
    		)
    );

}